<template>
  <div class="app">
    <router-view/>
    <tab-bar v-if="!route.meta.hideTabBar"/>
    <Loading />
  </div>
</template>

<script setup>
import TabBar from "@/components/tab-bar/tab-bar.vue"
import Loading from "@/components/loading/loding.vue"
import { useRoute } from "vue-router"
//获取当前活跃的路由
const route = useRoute()
</script>

<style scoped>

</style>
